package top.guxx.mall.service;

import top.guxx.mall.domain.dto.PaidOrderDTO;
import top.guxx.mall.domain.req.ShopCartReq;
import top.guxx.mall.domain.res.PayOrderRes;

import java.util.List;

/**
 * @Author：Guxx
 * @Description：
 * @Date：2025/2/19 0:18
 * @Filename：IOrderService
 */
public interface IOrderService {
    PayOrderRes createOrder(ShopCartReq shopCartReq) throws Exception;

    void changeOrderPaySuccess(String tradeNo);

    List<String> queryTimeoutCloseOrderList();

    boolean changeOrderClose(String orderId);

    List<String> queryNoPayNotifyOrder();

    List<PaidOrderDTO> queryPaidOrder(String userId);
}
